package test;

import org.springframework.stereotype.Component;

@Component("goods")
public class Truck implements Car {
    public void drive(){
        System.out.println("开着卡车去拉货");
    }
}
